move deprecated functions together, move setters and getters together,
authorMichael Natterer <mitch@imendio.com>
Tue, 11 Nov 2008 15:45:08 +0000 (15:45 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 11 Nov 2008 15:45:08 +0000 (15:45 +0000)
2008-11-11  Michael Natterer  <mitch@imendio.com>

* gtk/gtktoolbar.h: move deprecated functions together, move
setters and getters together, some indentation cleanup.

svn path=/trunk/; revision=21778

ChangeLog
gtk/gtktoolbar.h

index 65bb97f01f5ec5792085d118e2d851603b7a04d6..846ab03de0efaa0a7917e00aad3a29a02aa99b4e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-11  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktoolbar.h: move deprecated functions together, move
+       setters and getters together, some indentation cleanup.
+
 2008-11-11  Michael Natterer  <mitch@imendio.com>
 
        * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
index fb78095ccdd8b8fbd281fa900ee8d22d6580eb59..333b328871d0324714ec78385347ee7367bf74ab 100644 (file)
@@ -138,34 +138,33 @@ struct _GtkToolbarClass
   void (*_gtk_reserved3) (void);
 };
 
-GType           gtk_toolbar_get_type         (void) G_GNUC_CONST;
-GtkWidget*      gtk_toolbar_new                     (void);
+GType           gtk_toolbar_get_type                (void) G_GNUC_CONST;
+GtkWidget *     gtk_toolbar_new                     (void);
+
 void            gtk_toolbar_insert                  (GtkToolbar      *toolbar,
                                                     GtkToolItem     *item,
                                                     gint             pos);
+
 gint            gtk_toolbar_get_item_index          (GtkToolbar      *toolbar,
                                                     GtkToolItem     *item);
 gint            gtk_toolbar_get_n_items             (GtkToolbar      *toolbar);
 GtkToolItem *   gtk_toolbar_get_nth_item            (GtkToolbar      *toolbar,
                                                     gint             n);
+
 gboolean        gtk_toolbar_get_show_arrow          (GtkToolbar      *toolbar);
 void            gtk_toolbar_set_show_arrow          (GtkToolbar      *toolbar,
                                                     gboolean         show_arrow);
 
-#ifndef GTK_DISABLE_DEPRECATED
-GtkOrientation  gtk_toolbar_get_orientation         (GtkToolbar      *toolbar);
-void            gtk_toolbar_set_orientation         (GtkToolbar      *toolbar,
-                                                    GtkOrientation   orientation);
-gboolean        gtk_toolbar_get_tooltips            (GtkToolbar      *toolbar);
-void            gtk_toolbar_set_tooltips            (GtkToolbar      *toolbar,
-                                                    gboolean         enable);
-#endif /* GTK_DISABLE_DEPRECATED */
-
 GtkToolbarStyle gtk_toolbar_get_style               (GtkToolbar      *toolbar);
 void            gtk_toolbar_set_style               (GtkToolbar      *toolbar,
                                                     GtkToolbarStyle  style);
 void            gtk_toolbar_unset_style             (GtkToolbar      *toolbar);
+
 GtkIconSize     gtk_toolbar_get_icon_size           (GtkToolbar      *toolbar);
+void            gtk_toolbar_set_icon_size           (GtkToolbar      *toolbar,
+                                                     GtkIconSize      icon_size);
+void            gtk_toolbar_unset_icon_size         (GtkToolbar      *toolbar);
+
 GtkReliefStyle  gtk_toolbar_get_relief_style        (GtkToolbar      *toolbar);
 gint            gtk_toolbar_get_drop_index          (GtkToolbar      *toolbar,
                                                     gint             x,
@@ -174,6 +173,7 @@ void            gtk_toolbar_set_drop_highlight_item (GtkToolbar      *toolbar,
                                                     GtkToolItem     *tool_item,
                                                     gint             index_);
 
+
 /* internal functions */
 gchar *         _gtk_toolbar_elide_underscores      (const gchar         *original);
 void            _gtk_toolbar_paint_space_line       (GtkWidget           *widget,
@@ -183,11 +183,16 @@ void            _gtk_toolbar_paint_space_line       (GtkWidget           *widget
 gint            _gtk_toolbar_get_default_space_size (void);
 
 
-void       gtk_toolbar_set_icon_size   (GtkToolbar      *toolbar,
-                                       GtkIconSize      icon_size);
-void       gtk_toolbar_unset_icon_size (GtkToolbar      *toolbar);
 
 #ifndef GTK_DISABLE_DEPRECATED
+
+GtkOrientation  gtk_toolbar_get_orientation         (GtkToolbar      *toolbar);
+void            gtk_toolbar_set_orientation         (GtkToolbar      *toolbar,
+                                                    GtkOrientation   orientation);
+gboolean        gtk_toolbar_get_tooltips            (GtkToolbar      *toolbar);
+void            gtk_toolbar_set_tooltips            (GtkToolbar      *toolbar,
+                                                    gboolean         enable);
+
 /* Simple button items */
 GtkWidget* gtk_toolbar_append_item   (GtkToolbar      *toolbar,
                                      const char      *text,